Skip to content

Conversation

@tzolov
Copy link
Contributor

@tzolov tzolov commented Jul 15, 2025

  • Split MCP client auto-configuration into transport-specific modules to support new streamable-HTTP transport
    • spring-ai-autoconfigure-mcp-client-common (shared functionality)
    • spring-ai-autoconfigure-mcp-client-httpclient (HttpClient-based transports)
    • spring-ai-autoconfigure-mcp-client-webflux (WebFlux-based transports)
  • Update starters to use appropriate transport-specific modules
  • Add streamable-HTTP configuration properties (spring.ai.mcp.client.streamable)
  • Update documentation with streamable-HTTP transport examples
  • Update BOM to reflect new modular structure

- Split MCP client auto-configuration into transport-specific modules to support new streamable-HTTP transport
  - spring-ai-autoconfigure-mcp-client-common (shared functionality)
  - spring-ai-autoconfigure-mcp-client-httpclient (HttpClient-based transports)
  - spring-ai-autoconfigure-mcp-client-webflux (WebFlux-based transports)
- Update starters to use appropriate transport-specific modules
- Add streamable-HTTP configuration properties (spring.ai.mcp.client.streamable)
- Update documentation with streamable-HTTP transport examples
- Update BOM to reflect new modular structure

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov added this to the 1.1.x milestone Jul 15, 2025
@tzolov tzolov added the MCP label Jul 15, 2025
@ilayaperumalg ilayaperumalg self-assigned this Jul 15, 2025
@ilayaperumalg
Copy link
Member

Fixes #3782

@checkHup
Copy link

I cannot find the StreamableHttpHttpClientTransportAutoConfiguration class after upgrading to version 1.1.0
image

@hbsjz-swl
Copy link

@checkHup The changes will take effect only after the merge

@ConfigurationProperties(McpStreamableHttpClientProperties.CONFIG_PREFIX)
public class McpStreamableHttpClientProperties {

public static final String CONFIG_PREFIX = "spring.ai.mcp.client.streamable";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps the proper prefix should be spring.ai.mcp.client.streamable-http?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this is better!

tzolov added 2 commits July 16, 2025 12:52
…cp.client.streamable-http

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@ilayaperumalg
Copy link
Member

Squashed, rebased and merged as 656395e

@LookforAnswer
Copy link

LookforAnswer commented Jul 17, 2025

build by httpclient?why not webflux? sse support webflux

@ilayaperumalg
Copy link
Member

build by httpclient?why not webflux? sse support webflux

spring-ai-autoconfigure-mcp-client-webflux supports web flux based transport

@zhb0905
Copy link

zhb0905 commented Aug 7, 2025

fantastic work! 🙌

I have a related question about server auto-configuration, Are there any plans (or a rough timeline) for supporting auto-configuration of the streamable-HTTP server?

We're exploring streamable-HTTP for handling continuous real-time data streams and auto-config would significantly speed up our adoption.

Any insights would be appreciated! Thanks again for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants